import Vue from 'vue'
import App from './App'
import store from './store'
import Cache from './utils/cache'
import util from 'utils/util'
import configs from './config/app.js'
import * as Order from './libs/order';
import skeleton from './components/skeleton/index.vue'
Vue.component('skeleton', skeleton)


Vue.prototype.$util = util;
Vue.prototype.$config = configs;
Vue.prototype.$Cache = Cache;
Vue.prototype.$eventHub = new Vue();
Vue.config.productionTip = false
Vue.prototype.$Order = Order;

//混入公共方法
import mixin from '@/mixins/index.vue'
Vue.mixin(mixin)

App.mpType = 'app'
const app = new Vue({
	...App,
	store,
	Cache
})
app.$mount();